JMGetAWTContextFrame
Gets a particular frame associated with an AWT context.
OSStatus JMGetAWTContextFrame ( JMAWTContextRef context, UInt32 frameIndex, JMFrameRef* frame);
context
- The AWT context that contains the frame.
frameIndex
- The index number of the frame.
frame
- A pointer to the frame. On return, this parameter holds the frame with index
frameIndex
.- function result
- A result code; see "JManager Result Codes".
DISCUSSION
The index numbers for frames range from 0 toframeCount
-1 (as determined by theJMCountAWTContextFrames
function), with the most recently added frame having the highest number. The index number of a particular frame is not necessarily constant; removing or adding frames can cause the index number to change.